package com.gadgets.framework.advisor;

import com.gadgets.framework.common.exception.GadgetsValidateException;

import javax.servlet.http.HttpSession;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-17
 * 
 */
public interface IRoleAuthCheckProcessor {

    /**
     * 执行权限校验
     * @param session                       Session信息
     * @return                              校验结果
     * @throws GadgetsValidateException     校验错误信息
     */
    public boolean excuteCheck(HttpSession session) throws GadgetsValidateException;

}
